@import 'color';

$pageHeight: 110vh;

#product {
  background: #fefdfc;
  //padding-left: 20px;
  //padding-right: 30px;
}

.products {
  position: relative;
  height: auto;
  width: 100%;
  border-top: 1px #f2f2f2 solid;
  margin-top: 17vh;

  @media screen and (max-width: 780px) {
    margin-top: 50px;
  }
}

.product_panel {
  position: relative;
  height: 70vh;
  zoom: 1;
  overflow: hidden;
  margin: 0 auto;
  text-align: center;
  border-bottom: 1px #f2f2f2 solid;
  @media screen and (max-width: 780px) {
    height: auto;
    padding-bottom: 60px;
  }
  .product_info {
    position: relative;
    padding-bottom: 15vh;
    padding-top: 15vh;

    @media screen and (max-width: 780px) {
      width: 100%;
    }

    .panel {
      position: relative;
      text-align: left;
      width: 30vw;
      padding-top: 2vw;
      box-sizing: border-box;
      margin: 0 auto;
      overflow: hidden;

      @media screen and (max-width: 780px) {
        margin-top: 50px;
        width: 70%;
      }

      .title2 {
        position: relative;
        font-size: 0.2rem;
      }
      .product_name {
        position: relative;
        margin-top: 3vh;
        @media screen and (max-width: 780px) {
          top: 20px;
        }
      }
      .product_desc {
        position: relative;
        line-height: 0.4rem;
        margin: 0 auto;
        text-align: left;
        margin-top: 5vh;
        width: 100%;
        @media screen and (max-width: 780px) {
          margin-top: 25px;
        }
      }
    }
  }

  .left {
    position: relative;
    float: left;
    width: calc(50% - 1px);
    border-right: 1px #f2f2f2 solid;
    height: 100%;
    box-sizing: border-box;

    @media screen and (max-width: 780px) {
      float: none;
      width: 100%;
      height: 30%;
      padding-bottom: 0;
      padding-top: 0;
    }
  }
  .right {
    box-sizing: border-box;
    position: relative;
    float: right;
    width: 50%;
    height: 100%;
    @media screen and (max-width: 780px) {
      float: none;
      width: 100%;
      height: 30%;
      padding-bottom: 0;
      padding-top: 0;
    }
  }
}

.product_img {
  img {
    position: relative;
    width: auto;
    height: 45vh;
    display: inline;
    top: 50%;
    transform: translateY(-50%);
    @media screen and (max-width: 780px) {
      width: 70vw;
      // margin-top: 140px;
      height: auto;
      transform: translateY(0);
    }
  }
}

.brand_intro {
  position: relative;
  width: 100%;
  height: auto;
  text-align: center;
  margin: 10vh auto 0 auto;
  @media screen and (max-width: 780px) {
    margin-top: 50px;
    position: relative;
    left: 0;
    width: 100%;
    text-align: center;
  }

  img {
    width: 20vw;
    height: auto;
    display: inline;
    @media screen and (max-width: 780px) {
      margin-top: 20px;
      width: 150px;
      height: 60px;
    }
  }
  .text {
    text-align: center;
    margin: 0 auto;
    position: relative;
    font-size: 0.3rem;
    width: 78vw;
  }
}
